WEXP error message

I am new to dxl code and am trying to run WEXP on DOORS v9.3. It is the unencrypted version and I have been told it should work as it has worked for other DOORS users. However, when I open the WEXP drop down menu along the top of the screen and try to open up the enhanced exporter I recieve 3 error messages. These are:

-E- DXL: <addins/TWEXP/include/parastyl.inc:201> incorrect argument for (!)
Included from:
+ <addins/TWEXP/menu calls/wexp.inc:33>+

+ <C:\Program Files\IBM\Rational\DOORS\9.3/lib/dxl/addins/TWEXP/wexp.dxl:6>+

+ <Line:1>+

-E- DXL: <addins/TWEXP/include/parastyl.inc:201> incorrect arguments for (if)
Included from:
+ <addins/TWEXP/menu calls/wexp.inc:33>+

+ <C:\Program Files\IBM\Rational\DOORS\9.3/lib/dxl/addins/TWEXP/wexp.dxl:6>+

+ <Line:1>+

-E- DXL: <addins/TWEXP/include/parastyl.inc:201> incorrect arguments for function (makeParaStyleAttribute_)
Included from:
+ <addins/TWEXP/menu calls/wexp.inc:33>+

+ <C:\Program Files\IBM\Rational\DOORS\9.3/lib/dxl/addins/TWEXP/wexp.dxl:6>+

+ <Line:1>+

-I- DXL: All done. Errors reported: 3. Warnings reported: 0.

Does anybody know what the problem is and how I can overcome it?
SystemAdmin - Tue Nov 06 09:43:00 EST 2012

Re: WEXP error message
llandale - Tue Nov 06 14:18:18 EST 2012

You should post the exact line of code within WEXP that is offensive, so we can see which parameters is presumes of function makeParaStyleAttribute_.

Don't know about WEXP, but I see that function:
  • bool makeParaStyleAttribute_(Module m, bool enableHistory)
exists in file v9.3.0.2
  • C:\Program Files\IBM\Rational\DOORS\9.3\lib\dxl\utils\doctools\parastyl.inc

There is little doubt that that file has been upgraded vis-a-vis the version for which WEXP was written; inappropriately using an un-documented function that was changed.

If you can find that call in your WEXP file perhaps you can figure out what it is trying to do and write another function to do it. Alternanatively perhaps someone with an older version of DOORS can provide yo that same function that has the parameters expected by WEXP.

If I were to guess, I would guess the original makeParaStyleAttribute_() lacks a "Module" parameter and presume's the "current" module. If so you would edit your WEXP file..
.. replacing the offending line if it looks like this:
  • OK = makeParaStyleAttribute_(mod, true)
.. with this:
  • current = mod; OK = makeParaStyleAttribute_(true)

-Louie